package com.yeyks.common.annotation.group;

import com.yeyks.common.annotation.EmailCheck;
import com.yeyks.common.annotation.PhoneCheck;

import javax.validation.GroupSequence;
import javax.validation.groups.Default;

/**
 * @author fuchangshuai
 * @date 2019/06/24 15:17
 *
 * 实现按照分组顺序校验
 * 引用处：@Validated(MyGroup.class)
 */
@GroupSequence({Default.class, PhoneCheck.class, EmailCheck.class})
public interface MyGroup {
}
